<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>专业数据处理平台</title>
    <meta name="description" content="这是一个 taskEdit 页面">
    <meta name="keywords" content="taskEdit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="${ctx}/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="${ctx}/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="stylesheet" href="${ctx}/assets/css/jquery-ui.css">
    <link rel="stylesheet" href="${ctx}/assets/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="${ctx}/assets/css/jquery.treetable.css">
    <link rel="stylesheet" href="${ctx}/assets/css/jquery.treetable.theme.default.css">
    <link rel="stylesheet" href="${ctx}/assets/css/feature.presenter.1.5.css">
    <link rel="stylesheet" href="${ctx}/assets/css/amazeui.min.css">
    <link rel="stylesheet" href="${ctx}/assets/css/admin.css">
    <link rel="stylesheet" href="${ctx}/assets/css/app.css">
    <link rel="stylesheet" href="${ctx}/assets/css/taskEditByBatchTasks.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/assets/css/xcConfirm.css"/>
</head>

<body data-type="chart" style="min-width: 842px;">
<!--标题-->
<div class="tpl-content-page-title">
    工作流系统--任务
</div>
<!--面包屑-->
<ol class="am-breadcrumb">
    <li><a href="#" class="am-icon-home">首页</a></li>
    <li><a href="#">任务</a></li>
    <li class="am-active">任务</li>
</ol>
<div class="tpl-portlet-components">
    <div class="portlet-title">
        <div id="taskname" class="caption font-green bold">
            任务
        </div>
        <div class="caption font-green bold" id="statusDisplay" style="float: right;margin-right: 15px;">
            总任务数：<span id="showTaskNum">1</span>
        </div>
    </div>
    <div class="tpl-block">
        <!--栅格化-->
        <div class="am-g">

            <div class="page">
                <div class="task_control" id="task_control">
                    <button type="button" id="button_start"
                            class="am-btn am-btn-default am-radius fleft control_lt" disabled="disabled">运行<span
                            class="glyphicon glyphicon-play" aria-label="运行"></span></button>
                    <button type="button" id="button_continue"
                            class="am-btn am-btn-default am-radius fleft control_lt none" disabled="disabled">继续<span
                            class="glyphicon glyphicon-play" aria-label="继续"></span></button>
                    <button type="button" id="button_stop"
                            class="am-btn am-btn-default am-radius fleft control_lt" disabled="disabled">暂停<span
                            class="glyphicon glyphicon-pause" aria-label="暂停"></span></button>
                    <button type="button" id="button_over"
                            class="am-btn am-btn-default am-radius fleft control_lt" disabled="disabled">终止<span
                            class="glyphicon glyphicon-stop" aria-label="终止"></span></button>
                    <button type="button" class="am-btn am-btn-default am-radius fright control_rt"
                            id="button_save">保存<span class="glyphicon glyphicon-save" aria-label="保存"></span>
                    </button>
                </div>
                <div class="fleft container_p" id="content">
                    <input type="hidden" id="taskNumber">
                    <input type="hidden" id="cpuNum">
                    <input type="hidden" id="datas">
                    <input type="hidden" id="data">
                    <input type="hidden" id="input">
                    <input type="hidden" id="other">
                    <input type="hidden" id="output">
                    <input type="hidden" id="modelid">
                    <input type="hidden" id="frontAlgorithmIds">
                    <input type="hidden" id="nextAlgorithmId">
                    <input type="hidden" id="post_jsondata">
                    <input type="hidden" id="blockid">
                    <input type="hidden" id="algorithmid">
                    <input type="hidden" id="startSetting">
                    <input type="hidden" id="taskid">
                    <input type="hidden" id="taskhash">
                    <input type="hidden" id="jobid">
                    <input type="hidden" id="jobblockid">
                    <input type="hidden" id="jobtaskid">
                    <input type="hidden" id="allowModification">
                    <div id="combinationDrag" class="combinationDrag"></div>
                    <div id="combination" class="combination"></div>
                    <div id="displayBox" class="displayBox" style="display: none">
                        <div class="displayTitle">
                            <span id="displayBoxRBtn" class="glyphicon glyphicon-chevron-right"></span>
                            <span id="displayBoxLBtn" class="glyphicon glyphicon-chevron-left"
                                  style="display: none;"></span>
                        </div>
                        <div class="displayTaskInformation" id="displayTaskInformation">
                            <div class="form-title" style="text-align: center">
                                <h4>任务信息</h4>
                            </div>
                            <hr>
                            <div class="input_output_form">
                                <table id="displayTable"
                                       style="width: 346px!important; table-layout: fixed; font-size:16px; margin-bottom: 5px!important;"
                                       class="am-table am-table-bordered am-table-radius">
                                    <thead>
                                    <tr>
                                        <th style="width: 32px"></th>
                                        <th style="width: 100px;">组件名</th>
                                        <th style="width: 105px;">输入/输出名</th>
                                        <th style="width: 105px;">文件名</th>
                                    </tr>
                                    </thead>
                                </table>
                            </div>
                            <hr>
                            <div class="other_form">
                                <div class="otherPriority">
                                    算法优先级:&nbsp;&nbsp;<span id="otherPriority"
                                                            style="font-weight: normal;"></span>
                                </div>
                                <div class="otherParallelStrategy">
                                    并行策略:&nbsp;&nbsp;<span id="otherParallelStrategy"
                                                           style="font-weight: normal;"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="am-tabs container_b" data-am-tabs="{noSwipe: 1}" id="container_b">
                        <ul class="am-tabs-nav am-nav am-nav-tabs container_b_t" id="task_info_control">
                            <li class="am-active"><a href="javascript: void(0)">控制台</a></li>
                            <li><a href="javascript: void(0)">树形表单</a></li>
                            <span class="task_info_control_right glyphicon glyphicon-chevron-up"
                                  id="task_info_right_top" aria-hidden="true"></span>
                        </ul>
                        <div class="am-tabs-bd container_b_b" id="task_info">
                            <div class="am-tab-panel am-active">
                                <pre id="task_info_pre" class="task_info_pre"></pre>
                            </div>
                            <div class="am-tab-panel">
                                <div id="task_info_div" class="task_info_div">
                                    <table id="treeTable" style="width:100%;font-size:14px"
                                           class="am-table am-table-bordered am-table-radius am-table-hover">
                                        <thead>
                                        <tr>
                                            <th style="width:250px;">标题</th>
                                            <th>id</th>
                                            <th>作业名</th>
                                            <th>开始时间</th>
                                            <th>结束时间</th>
                                            <th style="width:80px;">优先级</th>
                                            <th style="width:70px;">状态</th>
                                            <th style="width:90px;">操作</th>
                                        </tr>
                                        </thead>
                                        <tbody id="table_tbody">
                                        </tbody>
                                    </table>
                                    <div class="am-cf am-center">
                                        <div id="test1"style="text-align: center;"am-pagination="pagination_new" pagenumber="1" totalpage="1"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctx}/assets/js/jQuery/jquery-1.9.1.js"></script>
<script src="${ctx}/assets/js/jQuery/jquery.min.js"></script>
<script src="${ctx}/assets/js/jQuery/jquery-ui.js"></script>
<script src="${ctx}/assets/js/jQuery/jquery.treetable.js"></script>
<script src="${ctx}/assets/js/common/common.fun.js"></script>
<script src="${ctx}/assets/js/common/amazeui.min.js"></script>
<script src="${ctx}/assets/js/common/app.js"></script>
<script src="${ctx}/assets/js/common/jsplumb.js"></script>
<script src="${ctx}/assets/js/common/combinationDrag.js"></script>
<script src="${ctx}/assets/js/common/feature.presenter.1.5.min.js"></script>
<script src="${ctx}/assets/js/common/bootstrap.min.js"></script>
<script src="${ctx}/assets/js/common/config.js"></script>
<script src="${ctx}/assets/js/common/xcConfirm.js"></script>
<script src="${ctx}/assets/js/layer/layer.js"></script>
<script src="${ctx}/assets/js/task/taskCreate.js"></script>
</body>

</html>